package com.ruoyi.hotel.mapper;

import java.util.List;
import com.ruoyi.hotel.domain.HlAdminCommission;
import com.ruoyi.hotel.domain.dto.HlAdminCommissionDTO;

/**
 * 员工提成Mapper接口
 * 
 * @author ruoyi
 * @date 2022-12-10
 */
public interface HlAdminCommissionMapper 
{
    /**
     * 查询员工提成
     * 
     * @param id 员工提成主键
     * @return 员工提成
     */
    public HlAdminCommission selectHlAdminCommissionById(Long id);

    /**
     * 查询员工提成列表
     * 
     * @param hlAdminCommission 员工提成
     * @return 员工提成集合
     */
    public List<HlAdminCommissionDTO> selectHlAdminCommissionList(HlAdminCommission hlAdminCommission);

    /**
     * 新增员工提成
     * 
     * @param hlAdminCommission 员工提成
     * @return 结果
     */
    public int insertHlAdminCommission(HlAdminCommission hlAdminCommission);

    /**
     * 修改员工提成
     * 
     * @param hlAdminCommission 员工提成
     * @return 结果
     */
    public int updateHlAdminCommission(HlAdminCommission hlAdminCommission);

    /**
     * 删除员工提成
     * 
     * @param id 员工提成主键
     * @return 结果
     */
    public int deleteHlAdminCommissionById(Long id);

    /**
     * 批量删除员工提成
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHlAdminCommissionByIds(Long[] ids);
}
